﻿<!--#include file="inc/conn1.asp"-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="images/login.css" type="text/css">
<title><%=Web_Name%>后台管理系统</title>
<script language="javascript">
<!--
function checkForm(theform)
{
  if (theform.username.value.length==0)
  {
    alert("对不起，用户名不能为空!")
    mobj = eval("document.admininfo.username");
    mobj.focus();
    mobj.select();
    return false;
  }
  
  if (theform.password.value.length==0)
  {
    alert("对不起，密码不能为空!")
    mobj = eval("document.admininfo.password");
    mobj.focus()
    mobj.select()
    return false;
  }
  if (theform.Verifycode.value.length==0)
  {
    alert("对不起，验证码不能为空!")
    mobj = eval("document.admininfo.Verifycode");
    mobj.focus()
    mobj.select()
    return false;
  }
  return true;
}
//-->
</script>
</head>

<body onLoad="admininfo.username.focus();">
<form name="admininfo" onSubmit="return checkForm(this)" method="post" action="chk_admin_login.asp">
<table width="500" cellpadding="1" cellspacing="0" border="0" align="center" style="border:3px solid #B2B2B2;">
  <tr>
    <td height="30" colspan="2" class="biaoti" align="center"><%=Web_Name%>智能后台管理系统</td>
    </tr>
  <tr>
    <td colspan="2" height="75" class="forumRowHighlight" style="font-size:26px; font-weight:bold" align="center">智能后台管理系统</td>
    </tr>
  <tr>
    <td width="150" height="25" align="right" class="forumRow"><b>用户名：</b></td>
    <td width="350" height="25" class="forumRow"><input type="text" maxLength="16" name="username"></td>
  </tr>
  <tr>
    <td height="25" align="right" class="forumRow"><b>密　码：</b></td>
    <td height="25" class="forumRow"><input type="password" maxLength="16" name="password"></td>
  </tr>
  <tr>
    <td height="25" align="right" class="forumRow"><b>验证码：</b></td>
    <td height="25" class="forumRow"><input name="Verifycode" id="Verifycode" onKeyUp="value=value.replace(/[^\d]/g,'') " maxlength="5" tonbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))">&nbsp;<img src="../inc/vCode.asp?" alt="图片看不清？点击重新得到验证码" align="absbottom" style="cursor:pointer;" onClick="this.src+=Math.random()" /></td>
  </tr>
  <tr>
    <td height="30" colspan="2" align="center" class="forumRowHighlight"><input type="image" src="images/b_login.gif" class="buttonlogin" name="imageField">&nbsp;&nbsp;&nbsp;<input name="reset" type="image" src="images/b_reset.gif" class="buttonresert" onClick="reset();return false;"></td>
    </tr>
</table>
</form>
</body>
</html>